package com.androidwwf.jwr;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Window;

public class SplashScreenActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		this.requestWindowFeature(Window.FEATURE_NO_TITLE);
		this.setContentView(R.layout.splashscreen);
		
		Thread splashscreen = new Thread() {
			public void run() {
				try {
					Thread.sleep(500);
				} catch (InterruptedException e) {
					e.printStackTrace();
				} finally {				
					Intent mainScreen = new Intent("com.androidwwf.jwr.MAINSCREENACTIVITY");
					startActivity(mainScreen);
					finish();
				}
			}
		};
		splashscreen.start();
	}
}